package 初始化;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lenovo
 * Date: 2022-06-24
 * Time: 10:03
 */
class Data{
    public int year;
    public int month;
    public int day;

    public Data(int year, int month, int day) {
        System.out.println(this.year);
        System.out.println(this.month);
        System.out.println(this.day);
    }
}
public class Test {
    public static void main(String[] args) {
        Data data = new Data(2022,6,24);
    }
}

